package com.doubao.protocol;

import lombok.Data;

/**
 * description:StatusMsg
 * <p>
 * author:sult
 * time: 2018/11/1 16:03
 **/
@Data
public class StatusMsg extends Msg{

    public String status;


    public enum MsgStatus {
        online,//上线
        offerline,//下线
        heartbeat,
        loginSuccess,//登录成功
        loginError,//登录失败
        kickOff,//被服务端踢出，账号重复登录
        serverACK,//服务器消息确认ack
        msgSuccess,
        msgFail      // 消息发送失败
    }

}
